#include "origine.h"


Origine::Origine(Vector center, Vector up, Vector across, Vector corner, QObject *parent) :
    _center(center),
    _up(up),
    _across(across),
    _corner(corner),
    QObject(parent)
{
}

Vector Origine::center() const
{
    return _center;
}

Vector Origine::up() const
{
    return _up;
}

Vector Origine::across() const
{
    return _across;
}

Vector Origine::corner() const
{
    return _corner;
}

Vector Origine::worldCenter()
{
    return Vector(0.0,0.0,0.0);
}

Vector Origine::worldUp()
{
    return Vector(0.0,1.0,0.0);
}

Vector Origine::worldAcross()
{
    return Vector(0.0,0.0,1.0);
}

Vector Origine::worldCorner()
{
    return Vector(1.0,0.0,0.0);
}
